<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>表单设计器</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../assets/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../assets/layuiadmin/css/admin.css" media="all">
</head>

<body>
    <div class="layui-row">
        <div class="layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-header">
                        <i class="layui-icon layui-icon-form"></i> 审批管理后台 | 表单设计器
                        <div class="layui-a-tips">
                            <a lay-href="http://www.layui.com/doc/base/changelog.html" class="layui-btn layui-btn-primary layui-btn-sm">
                                <i class="layui-icon layui-icon-triangle-r"></i> 预览
                            </a>
                            <a lay-href="http://www.layui.com/doc/base/changelog.html" class="layui-btn layui-btn-normal layui-btn-sm">
                                <i class="layui-icon layui-icon-release"></i> 保存
                            </a>
                        </div>
                    </div>
                    <div class="layui-card-body">
                        <div class="layui-row layui-col-space10">
                            <div class="layui-col-xs6 layui-col-md9">
                                <div class="layui-card">
                                    <div class="layui-card-header">
                                        控件元素
                                    </div>
                                    <div class="layui-card-body">
                                        <div class="layui-row">
                                            <div class="layui-col-12">
                                                <div id="fb-editor"></div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-col-xs6 layui-col-md3">
                                <div class="layui-card">
                                    <div class="layui-card-header"></div>
                                    <div class="layui-card-body"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script src="../assets/layuiadmin/layui/layui.js"></script>
    <script src="../assets/js/vendor.js"></script>
    <script src="../assets/js/form-builder.min.js"></script>
    <script src="../assets/js/form-render.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/rateYo/2.3.1/jquery.rateyo.min.js"></script>
    <script>
        $(function () {
            $("#fb-editor").html('');
            $('#fb-editor').formBuilder();
        });
    </script>
</body>

</html>